package cn.kys.logging.service.dto;

import cn.kys.common.annotation.EnableKysQuery;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**功能描述：日志查询类
 * @Auther:http://www.kys.cn
 * @Date:2020/4/1
 * @Description:cn.kys.logging.service.dto
 * @version:1.0
 */
@Data
public class LogQueryCriteria {

    /**
     * 模糊查询
     */
    @EnableKysQuery(blurry = "username,description,address,requestIp,method,params")
    private String blurry;

    @EnableKysQuery
    private String logType;

    @EnableKysQuery(type = EnableKysQuery.Type.BETWEEN)
    private List<Timestamp> createTime;
}
